Systems and methods for dimensioning CAD drawings

ABSTRACT

An automatic adaptive dimensioning program for CAD software in which dimension annotations are created by the CAD program automatically as an object is drawn and automatically associated with the object. Thereafter, changing the length of the object automatically changes the associated dimension annotation, or alternatively, changing the associated dimension annotation automatically changes the length of the object. When another object is interposed into or superposed onto an intermediate position of the existing object, the automatic adaptive dimensioning annotation feature of the invention automatically creates dimension annotations corresponding to the position of the new object relative to the existing object. The new object can be automatically positioned in relation to the existing object by specifying interposition dimensions or segment lengths in the dimension annotations.

RELATED APPLICATION

This application is a continuation of application Ser. No. 09/589,758, filed on Jun. 9, 2000.

FIELD OF THE INVENTION

This invention relates to computer software. In particular, this invention relates to an improvement in computer aided design (CAD) software.

BACKGROUND OF THE INVENTION

There are many types of computer aided design (CAD) software which assist in architectural design and drafting. Such software is widely used, as it considerably simplifies the task of drafting plans to scale with such annotations as are required for the needs of the user.

One of the advantages of CAD software is a feature whereby an object can have dimension annotations associated with the object, including dimension lines, extension lines, symbols of termination (e.g. arrowheads, architectural ticks) and dimension text, created automatically. Thus, the dimension can be automatically created for an object as the object is drawn. This considerably simplifies the annotation of the drawing, which had previously had been a very time consuming process.

Some CAD programs allow manual associative dimensioning, by which a dimension annotation can be manually associated with an object, and thereafter if the object is moved the dimension annotation adjusts automatically with the object. This also facilitates the annotation of drawings, however it requires that the user manually attach the dimension to the object in order for changes in the object to be reflected in the associated dimension annotation. Furthermore, if the object is broken, for example if another object is interposed in or superposed onto an intermediate point of the existing object, the associative dimensioning cannot accommodate the new object and new dimensions, so new dimension annotations corresponding to the new object must be manually added and new associations must be established between the existing dimension annotation and the remaining portions of the existing object. This is a time consuming process, particularly during the modification stages of CAD drafting.

For example, adding a window to an existing wall in a CAD drawing requires that the window be inserted at the intended position, that the existing dimension annotations be deleted and that new extension lines, dimension lines, termination symbols and dimension text be created to reflect the new segmentation of the object and/or the addition of any new object (or the removal of an existing object).

It would accordingly be advantageous if dimension annotations were created automatically as objects are created, and automatically associated with the objects as they are created. It would further be advantageous if dimension annotations would change automatically to accommodate any change to the existing objects, such as a new object inserted into a selected position relative to the existing objects or the deletion of an object from a group of objects.

SUMMARY OF THE INVENTION

The present invention overcomes these disadvantages by providing automatic adaptive dimensioning in a CAD software program. According to the invention, dimension annotations are created by the CAD program automatically as an object is drawn and automatically associated with the target object. Thereafter, changing the length of the target object automatically changes the associated dimension annotation, or alternatively, changing the associated dimension annotation automatically changes the length of the target object. Further, changing the dimension annotation associated with an adjacent object automatically changes the position of the target object.

Moreover, when another object is inserted into an intermediate position of an existing object, the automatic adaptive dimensioning feature of the invention automatically creates dimension annotations corresponding to the position of the new object relative to the existing object; likewise, the new object can be automatically positioned in relation to the existing object by specifying interposition dimensions or segment lengths in the existing dimension annotations. Thereafter, any changes to the lengths or relative positions of the objects will automatically change the associated dimension annotations, and any changes made to the associated dimension annotations will automatically-change the lengths and/or relative positions of the objects.

Incorporating the automatic adaptive dimensioning feature of the invention into a CAD program accordingly substantially decreases the production time of architectural drawings. The commensurate savings in labour, particularly in the input, documentation and modification stages of drawing preparation, provides a considerable advantage over conventional CAD drawing programs.

These and other features of the invention will be apparent from the detailed description which follows.

The present invention thus provides a method of annotating a computer aided design drawing, comprising the steps of a. setting parameters of dimension annotations comprising one or more of dimension text, dimension lines, extension lines and termination symbols, b. creating a target object by selecting a length of the target object; and c. automatically generating dimension annotations corresponding to the target object, whereby the dimension annotations are associated with the target object such that in response to a modification of a length or relative position of the target object, the dimension annotations associated with the target object or the dimension annotation associated with at least one adjacent object, or both, are automatically adjusted to correspond to the modification of the length or relative position of the target object.

The present invention further provides a computer program product for use with a computer, the computer program product comprising a computer usable medium having computer readable program code means embodied in said medium for annotating a computer aided design drawing, said computer program product having computer readable program code means for setting parameters of dimension annotations comprising one or more of dimension text, dimension lines, extension lines and termination symbols, computer readable program code means for creating a target object by selecting a length of the target object; and computer readable program code means for automatically generating dimension annotations corresponding to the target object, whereby the dimension annotations are associated with the target object such that in response to a modification of a length or relative position of the target object, the dimension annotations associated with the target object or the dimension annotation associated with at least one adjacent object, or both, are automatically adjusted to correspond to the modification of the length or relative position of the target object.

The present invention further provides a program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform method steps for annotating a computer aided design drawing, said method steps comprising: a. setting parameters of dimension annotations comprising one or more of dimension text, dimension lines, extension lines and termination symbols, b. creating a target object by selecting a length of the target object; and c. automatically generating dimension annotations corresponding to the target object, whereby the dimension annotations are associated with the target object such that in response to a modification of a length or relative position of the target object, the dimension annotations associated with the target object or the dimension annotation associated with at least one adjacent object, or both, are automatically adjusted to correspond to the modification of the length or relative position of the target object.

A further aspect of the invention includes the step of, in response to a modification of the dimension annotation associated with the target object or the dimension annotation associated with at least one adjacent object or both, automatically modifying a length or relative position of the target object to correspond to the modification of the dimension annotation.

BRIEF DESCRIPTION OF THE DRAWINGS

In drawings which illustrate by way of example only a preferred embodiment of the invention,

FIG. 1 is a diagrammatic illustration of objects and associated dimension annotations in a conventional CAD drawing,

FIG. 2 is a diagrammatic illustration of an object and associated dimension annotations in a CAD drawing using the method of the invention,

FIG. 3 is a diagrammatic illustration of the drawing of FIG. 2 after inserting a new object,

FIG. 4 is a diagrammatic illustration of the drawing of FIG. 3 after inserting a new object,

FIG. 5 is a diagrammatic illustration of the drawing of FIG. 4 after inserting a new object,

FIG. 6 is a diagrammatic illustration of the drawing of FIG. 5 after inserting a new object,

FIG. 7 is a diagrammatic illustration of the drawing of FIG. 6 after inserting a new object,

FIG. 8 is a diagrammatic illustration of the drawing of FIG. 7 after inserting a new object,

FIG. 9 is a diagrammatic illustration of the drawing of FIG. 8 after inserting a new object,

FIG. 10 is a diagrammatic illustration of the drawing of FIG. 9 after moving an existing object, and

FIG. 11 is a diagrammatic illustration of the drawing of FIG. 10 after deleting an object.

DETAILED DESCRIPTION OF THE INVENTION

FIG. 1 illustrates an architectural drawing by way of example. In a conventional CAD drawing program, line objects representing walls 10 and a windows 12 which are drawn or inserted in the CAD environment. Dimension text 20 specifying the lengths and relative positions of the objects 10, 12 are entered by the user, and in some CAD programs may be thereafter manually associated with each respective object 10, 12, so that a change in the length of the object is automatically reflected in the associated dimension text 20. Extension lines 22 are positioned or picked (selected) by the user for the desired dimension text, and dimension lines 24 and termination symbols 26 such as architectural ticks are either manually created by the user, or generated based on user-defined settings, based on the selected positions of the extension lines 22.

According to the invention, the dimension annotations are automatically created and associated with the respective objects to which they relate, and thereafter these dimension annotations are adaptive. Thus, the interposition or superposition of a new object in or onto an existing object automatically results in new extension lines 22 at the extremities of the new object, parsing of the existing dimension line 24 into segments with selected termination symbols 26, and the repositioning and recalculation of dimension text to accommodate the new object.

In use, to create a horizontal or vertical dimension associated with an object 10, 12, the object dimension text 20 can be selected by clicking, picking or otherwise specifying first and second points representing the ends of the object 10 or 12. In the case of multiple dimension strings, the locations of the dimension lines 24 (for example baseline strings or aligned strings) are also specified by the initial user settings, as are extension lines 22 and dimension text 20, with the selected termination symbols 26, which are thereafter generated automatically by the adaptive dimensioning feature of the invention based on the coordinate positions selected for the object. This feature of the invention also automatically trims or extends the dimensions annotations in response to a change in the size or position of the associated target object.

Thereafter, modifications to the existing objects 10, 12, may be made in two ways:

1. By modifying the length of the target object 8 itself and/or moving the target object to a new position relative to other objects. In this situation the associated dimension annotations automatically change to adapt to the modification of the associated object's dimension and/or position, moving extension lines, arrowheads or other termination symbols, and dimension text as necessary to accommodate the modification.

2. By changing dimension text to specify a new length for the target object 8, and/or changing the dimension text of an adjacent object to reposition the target object. In this case, the length of the object whose associated dimension text has been modified changes to correspond to the modified dimension. If the length of an adjacent object is changed, the target object is repositioned to remain adjacent to the adjacent object.

Specifics of the extension lines 22, alignment of dimension lines 24 (e.g. as aligned or baseline), type of termination symbols (e.g. architectural ticks), size and placement of dimension text 20, and any other desired parameters, are selected as setup parameters by the user before commencing drawing. The CAD drawing will automatically adaptively associate dimension annotations having the predefined parameters with the respective objects as they are inserted, deleted or modified.

Thus, in the example shown as a series of drawing steps in FIGS. 2 to 11, a target object 8, in FIG. 2 being a wall 10 a, is inserted into a new CAD drawing by selecting points 11 a and 11 b. Dimension annotations are automatically created by the method and computer program of the invention, by creating extension lines 22 a aligned with the extremities of the target object 10 a, creating a dimension line 24 a with termination symbols 26 a at its ends and creating dimension text 20 a adjacent to the dimension line 24 a (or as otherwise specified by the user in the setup parameters).

In FIG. 3 the target object 8 is a new exterior wall 10 b, added to the drawing of FIG. 2 by selecting point 11 c. Again dimension annotations are automatically created for the target object by aligning extension lines 22 b with the extremities of the target object 8, creating a dimension line 24 b with termination symbols 26 b at its ends and creating dimension text 20 b adjacent to the dimension line 24 b. When a new target object 8 is created, for example another exterior wall 10 c, by selecting point 1 d, as shown in FIG. 4, in addition to automatically creating dimension annotations for the new exterior wall 10 c, the position of the dimension annotations for the previous object are automatically shifted to accommodate the new target object 8.

FIGS. 5, 6 and 7 each add a further target object 8, in each case an exterior wall 10 d, 10 e and 10 f, by the selection of points 11 e, 11 f and 11 a, respectively, to delimit the exterior of the structure, and in each case dimension annotations are automatically created for each target object 8 as the target object 8 is inserted, by creating extension lines 22 d, 22 e, 22 f aligned with the extremities of the walls 10 d, 10 e and 10 f, creating dimension lines 24 d, 24 e, 24 f with termination symbols 26 d, 26 e, 26 f at their-respective ends and creating dimension text 20 d, 20 e, 20 f adjacent to the respective dimension lines 24 d, 24 e, 24 f.

In FIG. 8 a target object 8 comprising a partition wall 10 g is added to the drawing of FIG. 7 by selecting points 11 h and 11 j. In this case the adaptive feature of the invention automatically creates extension lines 22 g at the appropriate points on the existing dimension lines 24 a, 24 f, parses the existing dimension lines 24 a, 24 f into segments 24 g, and deletes the existing dimension text 20 a, 20 f and replaces it with new dimension text 20 g relating to the newly created dimension line segments 24 g. Similarly, when a target object 8 comprising a window 12 is added in FIG. 9, the adaptive dimensioning feature of the invention automatically creates a new dimension line 24 h (as specified by the user in the setup parameters) at the window 12 having an on-center extension line 22 h with associated dimension text 20 h and termination symbols 26 h.

In FIG. 10, the target object 8 is wall 10 c adjacent to the wall 10 d with the window 12. Wall 10 c is repositioned by dragging the wall 10 c to a new position from the previous position (shown in phantom lines). The automatic adaptive dimensioning feature of the invention automatically moves all associated extension lines 22 b, 22 d to align with the repositioned wall 10 c, and replaces the existing dimension text 20 b, 22 d of the resized walls 10 b, 10 d with new dimension text 20 b, 20 d reflecting the new position of the wall 10 c relative to adjacent objects. The lengths of walls 10 b, 10 d adjacent to the target object 8 (wall 10 c) automatically adjust to the new position of wall 10 c.

To complete the drawing, in FIG. 11 the partition wall 10 g (shown in phantom lines) has been deleted. The automatic adaptive dimensioning feature of the invention deletes the extension lines 22 previously associated with the partition 10 g to reconstitute the original dimension lines 24 f, deletes the dimension text 20 g of the parsed dimension line segments 24 g, and restores the original dimension text 24 f (from FIG. 7).

Thus, the invention provides an automatic adaptive dimensioning feature in a CAD program which automatically creates and associates dimension annotations as an object is inserted into a drawing, and modifies the dimension annotations as an object is added, deleted or modified in the drawing. The invention thus provides a method of creating and modifying a CAD drawing which considerably simplifies the CAD documentation process.

The automatic adaptive dimensioning feature of the invention can be programmed into CAD software, or can be created as an independent program loaded as a “plug-in” for existing CAD software.

A preferred embodiment of the present invention having been thus described by way of example, variations and modifications will be apparent to those skilled in the art. The invention includes all such variations and modifications as fall within the scope of the appended claims. 

1. A method for creating a computer aided design drawing formed of a plurality of target objects, comprising the steps of: (a) inputting first coordinate position data; (b) displaying a first target object corresponding to the first coordinate position data; (c) creating first dimension annotation data correlated to the first coordinate position data; (d) associating the first target object with the first dimension annotation data, wherein as a result of such association a change in the first coordinate position data will effect a correlated change in the first dimension annotation data (e) subsequent to step (d), inputting further coordinate position data corresponding to at least one further target object; (f) displaying the further target object in accordance with the further coordinate position data; (g) creating further dimension annotation data correlated to the further coordinate position data; (h) associating the at least one further target object with the further dimension annotation, wherein as a result of such association a change in the further coordinate position data will effect a correlated change in the further dimension annotation data.
 2. The method of claim 1, further comprising the step of: (i) displaying simultaneously a first dimension annotation correlated to the first dimension annotation data together with a further dimension annotation correlated to the further dimension annotation data.
 3. The method of claim 2, further comprising the steps of: (j) determining if the at least one further target object intersects the first target object (k) wherein if the at least one further target object intersects the first target object into a first segment and a second segment: (i) calculating first segment coordinate position data; (ii) calculating second segment coordinate position data; (iii) creating first segment dimension annotation data correlated to the first segment coordinate position data; (iv) creating second segment dimension annotation data correlated to the second segment coordinate position data; (v) associating the first segment with the first segment dimension annotation data; and (vi) associating the second segment with the second segment dimension annotation data.
 4. The method of claim 3, further comprising the steps of: (a) displaying a first segment dimension annotation correlated to the first segment annotation data; and (b) displaying a second segment dimension annotation correlated to the second segment annotation data.
 5. The method of claim 3, further comprising the step of: (a) determining if the at least one further target object is adjacent to any other target object.
 6. The method of claim 2, further comprising the steps of: (a) inputting modifications to the further coordinate position data; (b) displaying the further target object in accordance with the modified further coordinate position data; and (c) creating modified further dimension annotation data correlated to the modified further coordinate position data.
 7. The method of claim 6, further comprising the step of: (a) displaying a modified further dimension annotation correlated to the modified further dimension annotation data.
 8. The method of claim 7, further comprising the steps of: (a) if the at least one further target object is adjacent to the first target object: (i) modifying the first coordinate position data in correlation to the modified further coordinate position data; (ii) displaying the first target object in accordance with the modified first coordinate position data; (iii) modifying the first dimension annotation data correlated to the modified first coordinate position data; (iv) displaying a first dimension annotation correlated to the modified first dimension annotation data.
 9. A computer aided design system configured to implement the method of claim
 2. 10. A computer readable signal bearing medium comprising means for implementing the method of claim
 2. 11. A method for creating a computer aided design drawing formed of a plurality of target objects, comprising the steps of: (a) inputting coordinate position data for a new target object; (b) displaying the new target object corresponding to the coordinate position data; (c) creating dimension annotation data correlated to the coordinate position data; (d) associating the new target object with the dimension annotation data, wherein as a result of said association a change in the coordinate position data will effect a correlated change in the dimension annotation data; (e) repeating steps (a) through (d) for at least one additional target object; (f) wherein all of steps (a) through (d) are completed for one target object prior to inputting coordinate position data for any additional target object.
 12. The method of claim 11, further comprising the step of: (g) displaying simultaneously a dimension annotation correlated to the dimension annotation data for the new target object together with a dimension annotation correlated to the dimension annotation data for the additional target object.
 13. The method of claim 12, wherein step (a) further comprises the steps of: (a) determining whether the new target object intersects any other target object; and (b) wherein if the new target object intersects at least one other target object so as to create a first segment and a second segment: (i) calculating first segment coordinate position data, (ii) calculating second segment coordinate position data, (iii) creating first segment dimension annotation data correlated to the first segment coordinate position data, (iv) creating second segment dimension annotation data correlated to the second segment coordinate position data, (v) associating the first segment with the first segment dimension annotation, and (vi) associating the second segment with the second segment dimension annotation.
 14. The method of claim 13, further comprising the steps of: (i) displaying a first segment dimension annotation correlated to the first segment annotation data; and (ii) displaying a second segment dimension annotation correlated to the second segment annotation data.
 15. The method of claim 12, further comprising the step of: (a) determining if the new target object is adjacent to any other target object.
 16. The method of claim 12, further comprising the steps of: (a) selecting a target object; (b) inputting modified coordinate position data for the selected target object; (c) displaying the selected target object in accordance with the modified coordinate position data; and (d) modifying the dimension annotation data corresponding to the selected target object, the modification correlated to the modified coordinate position data.
 17. The method of claim 16, further comprising the step of displaying a modified dimension annotation correlated to the modified dimension annotation data.
 18. The method of claim 16, further comprising the steps of: (a) if the selected target object is adjacent to at least one other adjacent target object: (i) adjusting the coordinate position data corresponding to the adjacent target object, wherein the adjustment is correlated to the modified coordinate position data; (ii) displaying the adjacent target object in accordance with the adjusted coordinate position data; and (iii) adjusting the dimension annotation data corresponding to the adjacent target object, wherein the adjustment is correlated to the adjusted coordinate position data.
 19. The method of claim 18, further comprising the step of displaying a dimension annotation correlated to the adjusted dimension annotation data.
 20. A computer aided design system configured to implement the method of claim
 12. 21. A computer readable signal bearing medium comprising means for implementing the method of claim
 12. 22. A method of modifying a computer aided design drawing formed of a plurality of objects, wherein for each object the drawing comprises: (a) coordinate position data corresponding to the display of the object; (b) dimension annotation data correlated to the coordinate position data; (c) a dimension annotation correlated to the dimension annotation data; (d) wherein the object is associated with the dimension annotation such that as a result of said association a change in the coordinate position data will effect a correlated change in the dimension annotation data; the method of modifying comprising the steps of: (e) selecting a target object from the plurality of objects; (f) deleting the target object from the drawing; and (g) deleting the dimension annotation corresponding to the target object.
 23. A computer aided design system configured to implement the method of claim
 2322. 24. A computer readable signal bearing medium comprising means for implementing the method of claim
 22. 25. A method for creating a computer aided design drawing formed of a plurality of target objects, wherein at least one target object in the drawing is associated with a corresponding dimension annotation, the method comprising the steps of: (a) inputting new coordinate position data for a new target object; (b) displaying the new target object corresponding to the new coordinate position data; (c) creating new dimension annotation data correlated to the new coordinate position data; (d) displaying a new dimension annotation correlated to the new dimension annotation data; (e) associating the new target object with the new dimension annotation, wherein as a result of said association a change in the new coordinate position data will effect a correlated change in the new dimension annotation data; (f) inputting additional coordinate position data for an additional target object; (g) wherein all of steps (a) through (d) are completed for the new target object prior to inputting the additional coordinate position data for the additional target object.
 26. The method of claim 25, further comprising the step of: (a) displaying simultaneously the additional target object correlated to the additional coordinate position data, together with the new target object.
 27. The method of claim 25, further comprising the steps of: (a) creating additional dimension annotation data correlated to the additional coordinate position data; (b) associating the additional target object with the additional dimension annotation, wherein as a result of said association a change in the additional coordinate position data will effect a correlated change in the additional dimension annotation data; (c) displaying simultaneously an additional dimension annotation correlated to the additional dimension annotation data, together with the new dimension annotation.
 28. A computer aided design system configured to implement the method of claim
 25. 29. A computer readable signal bearing medium comprising means for implementing the method of claim
 25. 